package com.lv.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lv.pojo.LoginFrom;
import com.lv.pojo.Teacher;

/**
 * @Author:晓风残月Lx
 * @Date: 2022/4/28 19:00
 */
public interface TeacherService extends IService<Teacher> {
    Teacher login(LoginFrom loginFrom);

    Teacher getTeacherById(long userId);

    IPage<Teacher> getTeacherByOpr(Page<Teacher> pageParam, Teacher teacher);

    Teacher updatePwd(Long userId, String oldPwd);
}
